package com.cn.crmsystem.service.businessService;

import com.cn.crmsystem.pojo.Invoice;
import com.cn.crmsystem.pojo.Login;
import com.cn.crmsystem.pojo.ResultJson;
import org.springframework.stereotype.Service;

import java.util.Map;
@Service
public interface InvoiceService {
    /***
     * 查询发票
     * @param map
     * @return
     */
    ResultJson selectinvoiceAll(Map map);

    /***
     * 新增
     * @param invoice
     * @return
     */
    ResultJson addInvoice(Invoice invoice, Login login);

    ResultJson updateInvoice(Integer id);

    ResultJson deleteByIdInvoice(Integer id);
}
